//*************************************************//
//**                                             **//
//**
//**
//*************************************************//
#ifndef __test__
#define __test__

if(token.Matches(_("test"))&&(T.GetCount()==0))
{
    IsNotExtFunc = false;

    I[0].MakeChain();

    printf("test function\n");
    //Canvas->Shader( 6 , "shader/texture.vertex"  , "shader/texture.frag" );      //**** 4 ****//


   // I[0].Offset(1,&I[1]);

   /* mPointArray T;
    uint pp=0;

    for(double a=0;a<4000;a+=5)
    {
        pp++;
        T.clear();
        T = I[iNum].IntImgRay(mP(a,0),mP(a,10));
        if(T.size()>0) CODE << wxString::Format(wxT("%1.3f*"),-T.H.y*2);

        if(pp>9)
        {
            CODE << _("\n");
            pp = 0;
        }

    }

    CODE << _("\n");*/
    /*for(a=0;a<(TES.at(0).size()-1);a++)
    {
        I[iNum].add(eL(  mP(double(TES[0].at(a).X)*0.001   , double(TES[0].at(a).Y)*0.001) ,
                         mP(double(TES[0].at(a+1).X)*0.001 , double(TES[0].at(a+1).Y)*0.001)  ));
    }*/
     //I[iNum].add(eL(  mP(double(TES[0].at(a).X)*0.001   , double(TES[0].at(a).Y)*0.001) ,
      //                   mP(double(TES[0].at(0).X)*0.001 , double(TES[0].at(0).Y)*0.001)  ));

    continue;
}

//******************************************************//
//**                                                  **//
//******************************************************//
if(token.Matches(_("edge_test"))&&(T.GetCount()==2))
{
    IsNotExtFunc = false;
    I[1].Clear();
    double Y = calc(T[0]);
    double Ap = calc(T[1]);

    I[0].Copy(&I[1],mP(0,0));

    for(double a=0; a>Y; a=a-Ap)
    {
        I[startToolPos+tNum].Copy(&I[1], mP(GetToolOffset(a,&I[startToolPos+tNum],&I[0]) ,   a));
    }
    continue;
}

#endif

